package com.wlyuan.open.scanner.domain.carrier;

import com.wlyuan.open.scanner.domain.BaseDomain;
import com.wlyuan.open.scanner.utils.enums.SourceInvalidEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @author lijing
 * @description
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString(callSuper = true)
public class Relation extends BaseDomain {

    private Long id;

    @ApiModelProperty("上游租户id")
    private Long upstream;
    @ApiModelProperty("承运方id")
    private Long carrierId;
    @ApiModelProperty("下游租户id")
    private Long downstream;
    @ApiModelProperty("客户id")
    private Long customerId;
    @ApiModelProperty("客户类型")
    private Integer customerType;
    @ApiModelProperty("欢迎词")
    private String welcome;
    @ApiModelProperty("状态")
    private SourceInvalidEnum status;
    @ApiModelProperty("创建人")
    private Long createBy;

    private Long supplierStatus;
    private Integer supplierInvalid;
}
